package com.example.javaee.service;

import com.example.javaee.entity.Goods;
import com.example.javaee.entity.Order;
import com.example.javaee.entity.User;
import com.example.javaee.entity.UserOrder;

import java.util.List;

/**
 * @ClassName BookService
 * @Description
 * @Author 杨理欢
 * @Date 2021/11/16 14:43
 * @Version V1.0
 */
public interface UserOrderService {
     List<UserOrder> findAllUserOrder();
     List<UserOrder> findOrder(int orderId);
     void updateOrder(Order order);
     void updateUser(User user);
     int deleteOrder(int orderId);

     List<Order> wxObligationOrder();

     List<Order> wxToSendTheGoods();

     List<Order> wxWaitForReceiving();

     void updateOrderState(int orderId);

     List<Order> wxGetAllOrder();
}
